package com.tequila.core.service;

import com.tequila.domain.dto.BranchStoreDto;
import com.tequila.domain.entity.BranchStore;
import com.tequila.domain.query.BranchStoreQuery;

import fe.core.Pagination;

import java.util.List;

public interface BranchStoreService {

    public Pagination<BranchStoreDto> queryPageListByParam(BranchStoreQuery query);

    public BranchStoreDto queryById(Long id);

    public List<BranchStoreDto> queryByIdList(List<Long> idList);

    public List<BranchStoreDto> queryListByParam(BranchStoreQuery query);

    public Long insert(BranchStore entity);

    public Long save(BranchStore entity);

    public int updateById(BranchStore param);

    public int updateSelectiveById(BranchStore param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
